package com.homedo.odin.solution.enumcode;

/**
 * @author: zhaoxudong
 * @date: 2018/3/8 14:32
 * @Description: sql数据库相关枚举
 */
public enum SqlEnum {
    FAIL(-1, "sql语句执行失败");
    private int code;
    private String msg;

    SqlEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
